package com.cyzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyzy.dao.ClassTeacherDao;
import com.cyzy.mapper.TeacherMapper;
import com.cyzy.pojo.Teacher;
import com.cyzy.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements TeacherService {
    @Autowired
    private TeacherMapper teacherMapper;

    @Override
    public ClassTeacherDao showTeacher(ClassTeacherDao classTeacherDao) {
        return teacherMapper.showTeacherByClassId(classTeacherDao);
    }

}
